package util

// ReverseBytes 翻转字节数组
func ReverseBytes(raw []byte) {
	for left, right := 0, len(raw)-1; left < right; left, right = left+1, right-1 {
		raw[left], raw[right] = raw[right], raw[left]
	}
}
